// 2025.03.11 00:47 星期二 无事
// 这个是 操作 css

import { createStatic_mana } from '../../../Func/uniFunc/Func/createStatic_mana';
import { unit_staticCssTxt_mana } from './Classes/cla_unit_staticCssTxt_mana';
import { win_staticCssTxt } from './Classes/cla_win_staticCssTxt_mana';
import {
  winStatic_staticCssTxt,
  winstatic_staticCssTxt_data,
} from './DataDefine/sourceData';

window[winStatic_staticCssTxt] = new win_staticCssTxt();

/**
 * 创建 或 使用 window 挂载 的 ListenEvent 信息
 * @param {string} spacename 命名空间
 * @returns {unit_staticCssTxt_mana}
 */
function create_staticCssTxt_mana(spacename) {
  return createStatic_mana(
    winStatic_staticCssTxt,
    spacename,
    unit_staticCssTxt_mana,
    winstatic_staticCssTxt_data
  );
}

export { create_staticCssTxt_mana };
